import { defHttp } from '@/utils/http/axios';

enum Api {
  list = '/collect/rule/enterprise/list/industry',
  save = '/collect/rule/save',
}

export const getList = (params) => {
  return defHttp.get({ url: Api.list, params });
};

export const saveRule = (params) => {
  return defHttp.post({ url: Api.save, params });
};
